package com.totsp.conference;

import android.os.Bundle;
import android.widget.TextView;

public class PresentationDetail extends ConfActivity {

   private TextView presName;
   private TextView speaker;
   private TextView dateTime;
   private TextView presAbstract;

   @Override
   public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);

      setContentView(R.layout.presentation_detail);

      presName = (TextView) findViewById(R.id.pres_name);
      speaker = (TextView) findViewById(R.id.speaker);
      dateTime = (TextView) findViewById(R.id.datetime);
      presAbstract = (TextView) findViewById(R.id.pres_abstract);

      presName.setText(getIntent().getStringExtra(Constants.PRES_NAME));
      speaker.setText(getIntent().getStringExtra(Constants.SPEAKER));
      dateTime.setText(getIntent().getStringExtra(Constants.DATETIME));
      // TODO if dateTime present set vis to VISIBLE
      presAbstract.setText(getIntent().getStringExtra(Constants.PRES_ABSTRACT));
   }
}